import actionType from '../actions/actiontype'
const initState=JSON.parse(window.localStorage.getItem('acticeInfo'))||''



export default (state = initState, action) => {
    switch (action.type) {
        case actionType.EDIT:
            console.log(action.payload);
           state =action.payload

            return state
        default:
            return state
    }
}